// Setting up event handlers for player units

_unit = (_this select 0);

// No firing in base
_unit addeventhandler ["fired",{  if (vehicle (_this select 0) in list base ) then {deleteVehicle (_this select 6)};}];